package com.huizu.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huizu.common.annotation.Excel;
import com.huizu.common.core.domain.BaseEntity;

/**
 * 轮播图对象 shop_rotation
 * 
 * @author 
 * @date 2022-02-07
 */
public class ShopRotation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String image;

    /** 类型 */
    @Excel(name = "类型")
    private Integer model;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setModel(Integer model) 
    {
        this.model = model;
    }

    public Integer getModel() 
    {
        return model;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("image", getImage())
            .append("model", getModel())
            .append("sort", getSort())
            .toString();
    }
}
